#ifndef _LADDERBUFF_H_
#define _LADDERBUFF_H_
#include "MgrBase.h"
#include "SimpleRefection.h"
class LadderBuff:public ReflectionBase
{
	DECL_REFLECTION(LadderBuff,"../../config/LadderBuff.xml");
public:
	int32		m_iID;
	std::string	m_sDisplayName;
	int32		m_iPrice;
	std::string	m_sDesc;
	std::string	m_sIcon;
	int32		m_iHeroHpAddValue;
	float		m_fHeroHpAddPercent;
	int32		m_iRageInitAddValue;
	int32		m_iRageIncAddValue;
	float		m_fRageIncAddPercent;
	int32		m_iExCardBuff;
	int32		m_iExHeroBuff;

	rewrite virtual void OnArchieveReaded();
private:
};

typedef DefMangerTpl<LadderBuff> __LadderBuffManager; //eDefaultDef_Num
class LadderBuffManager:public __LadderBuffManager
{
public:
	static LadderBuffManager& Instance(){static LadderBuffManager _instance;return _instance;	}
	virtual void OnArchieveReaded();
private:
	LadderBuffManager(){}
};

#endif
/////////////////////////////////////////
